package com.ketangpai.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ketangpai.admin.entity.User;
import com.ketangpai.admin.entity.param.LoginParam;

public interface UserService extends IService<User> {
    User login(LoginParam param) throws Exception;

    String register(User user) throws Exception;

    User selectById(Integer id);
    User selectByAccount(String account);

    boolean update(User user);
}
